package logic;
import java.io.Serializable;

public class SystemMesseges extends Object implements Serializable{
	
	public final static int MESSAGE_UNREAD = 0;
	public final static int MESSAGE_READ = 1;
	public final static int MESSAGE_DELETED = 2;
	
	public final static int SYSTEM_MESSAGE = 1;
	public final static int EMAIL_MESSAGE = 2;
	
	private static final long serialVersionMID = 1L;

	private int MID;
	private int UID;
	private String MESSAGE;
	private String DATE;
	private int TYPE;
	private int READ;
	private String TITLE;


	public SystemMesseges(int MID, int UID,String MESSAGE, int TYPE,String DATE,int READ,String TITLE) {
		this.MID = MID;
		this.UID = UID;
		this.TYPE  = TYPE;
		this.DATE = DATE;
		this.MESSAGE = MESSAGE;
		this.READ = READ;
		this.TITLE =TITLE;
			
	}
		
	//TODO verify if JavaDoc needed for each specific getter
		
	public int getMID(){return this.MID;}
	public int getUID(){return this.UID;}
	public int getTYPE(){return this.TYPE;}
	public int getREAD(){return this.READ;}
	public String getDATE(){return this.DATE;}
	public String getMESSAGE(){return this.MESSAGE;}
	public String getTITLE(){return this.TITLE;}
		
	public long getserialVersionMID(){return serialVersionMID;}
	
}
